﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using xiaodingmarket_Domain_core.Models;

namespace xiaodingmarket_Domain.Models
{
    public class Reportprocess:Entity
    {
        public Reportprocess()
        {

        }
        public Reportprocess(Guid productid, string result, DateTime processTime, string evaluation)
        {
            Productid = productid;
            Result = result;
            ProcessTime = processTime;
            Evaluation = evaluation;
        }

        /// <summary>
        /// 举报id
        /// </summary>
        public Guid Productid { get; set; }
        /// <summary>
        ///处理结果
        /// </summary>
        [Column(TypeName = "varchar(200)")]
        public String Result { get; set; }
        // <summary>
        /// 处理时间
        /// </summary>
        public DateTime ProcessTime { get; set; }
        /// <summary>
        /// 评价(不通过的原因)
        /// </summary>
        [Column(TypeName = "varchar(500)")]
        public string Evaluation { get; set; }

        public Report report { get; set; }
    }
}
